package com.xqls.biz;

import java.util.List;
import java.util.Map;

import com.xqls.bean.RolePermissionKeyBean;
import com.xqls.util.CommonPage;
import com.xqls.util.CommonResult;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface RolePermissionKeyBiz {
   
    CommonResult setUpRecord(String roleId,List<RolePermissionKeyBean> beanList);
    
    CommonResult getListByPage(CommonPage commonPage, HttpServletRequest request, HttpServletResponse response);
    
    List<Map<String, Object>> getListByRoleId(String roleId);
    
    List<RolePermissionKeyBean> getList();

    CommonResult delRolePerByRoleId(String roleId);
    
	Map<String,Object> getBeanByKey(String roleId,String permId);
}
